#include <iostream>
#include <string>
using namespace std;
struct Student
{
    /* data */
    string name;
    int age;
    char sex;
} s3;

int main()
{
    Student s1;
    s1.name = "方现伟1";
    s1.age = 20;
    s1.sex = 'm';
    cout << "s1 的名字：" << s1.name << " s1的年龄：" << s1.age << " s1的性别：" << s1.sex << endl;
    Student s2 = {"王晶晶", 20, 'w'};
    cout << "s1 的名字：" << s2.name << " s1的年龄：" << s2.age << " s1的性别：" << s2.sex << endl;
    s3.name = "方现伟";
    s3.age = 29;
    s3.sex = 'm';
    cout << "s1 的名字：" << s3.name << " s1的年龄：" << s3.age << " s1的性别：" << s3.sex << endl;

    return 0;
}